<template>
     
     <div class="nav">
     <h2>爆爆团</h2>
     <div class="right"> <p>规则</p></div>
     <h1>限时爆款 超级低价</h1>       
     </div>
</template>

<script>
import {user_search} from "../../../api/index"
import eventBus from '../../../utils/eventBus'
export default {
    data() {
        return {
         data:[]
        }
    },
    methods: {
        search(){
            user_search({searchkey:this.inputText} ).then((res)=>{
            // console.log(res.data.list)
            this.data=res.data.list
            eventBus.$emit('tranferData',this.data)
        })
        }
        
    },
    mounted(){
        
    }


}
</script>

<style scoped>
   .nav{
    width: 100%;
    height: 200px;
   background:linear-gradient( #e12817 , #eb5528 , #ed732e );
    text-align: center;
    box-sizing: border-box;
   }
   h2{
    padding: 40px;
    color: #fcf7f7;
    Font-style:oblique
   }
   .right{
    float: right;
    color: #f4bfb8;
   }
   h1{
    margin: 20px;
    color: #fbf5e9;
   }

</style>